const path = require('path');

module.exports = {
  // 开发环境代理
  devServer: {
    proxy: {
      '/api': {
        target: 'http://192.168.0.171',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  },
  css: {
    sourceMap: true
  },
  publicPath: './'
};